class CreateCustomers < ActiveRecord::Migration
  def change
    create_table :customers do |t|
    	t.integer :enterprise_id
			t.string :first_name,
				:last_name
			t.string :sex, :default => 'unknown'
			t.string :title,
				:organization
			t.text :background_info
			t.integer :created_by_id,
				:updated_by_id											
      t.string :visible_scope, :default => 'everyone'
      t.string :status, :default => 'active'
      t.text :key_words
      t.date :contacted_on
      t.timestamps
    end
  end
end
